package com.qiaoas.springbootddd.Infrastructure.Domain.DomainObject;

/**
 * BaseObject 是所有业务对象的基类，直接继承的子类有
 * 1) BaseBo
 * 2) BaseVo
 * baseEntity 是领域中ORM对象的实体
 */
public abstract class BaseObject {
    /**
     * 数据存储对象，是业务对象的数据库映射
     */
    private BaseEntity baseEntity;

    public BaseEntity getBaseEntity() {
        return baseEntity;
    }

    public void setBaseEntity(BaseEntity baseEntity) {
        this.baseEntity = baseEntity;
    }

}
